package com.xyf.sys.mapper;

import com.xyf.sys.domain.ChannelConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ChannelConfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ChannelConfig record);

    int insertSelective(ChannelConfig record);

    ChannelConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ChannelConfig record);

    int updateByPrimaryKey(ChannelConfig record);

    ChannelConfig selectByDeptId(@Param("deptId") Long deptId);

    ChannelConfig selectByChannelId(@Param("channelId") String channelId);
}